package com.druid.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.NoArgsConstructor;

/**
*
* 后台管理菜单导航表
*
*
* @author druid-elf
* @since 2021-04-08
*/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="CeNavigation对象", description="后台管理菜单导航表")
public class CeNavigation implements Serializable {

private static final long serialVersionUID = 8695453847020653428L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "链接到子菜单的id")
    private Integer pid;

    @ApiModelProperty(value = "菜单名称")
    private String name;

    @ApiModelProperty(value = "菜单对应图标")
    private String icon;

    @ApiModelProperty(value = "菜单链接")
    private String url;

    @ApiModelProperty(value = "排布顺序")
    private Integer sort;

    @ApiModelProperty(value = "是否跳转新的页面(0-是，1否)")
    private String isJump;

    @ApiModelProperty(value = "首页菜单状态")
    private Integer status;

    @ApiModelProperty(value = "类型")
    private Integer type;


}
